package cn.xfdzx.android.apps.shop.model;


import java.util.Map;

import cn.xfdzx.android.apps.shop.bean.BaseObjectBean;
import cn.xfdzx.android.apps.shop.bean.ShopInDetailsBeen;
import cn.xfdzx.android.apps.shop.contract.ShopManagerContract;
import cn.xfdzx.android.apps.shop.net.RetrofitClient;
import io.reactivex.Flowable;

/**
 * @author azheng
 * @date 2018/6/4.
 * Description：
 */
public class ShopManagerModel implements ShopManagerContract.Model {



    @Override
    public Flowable<BaseObjectBean> anchorApply() {
        return RetrofitClient.getInstance().getApi().anchor_apply( );
    }

    @Override
    public Flowable<ShopInDetailsBeen> updateBusinessInfo(Map<String, Object> map, String type) {
        return RetrofitClient.getInstance().getApi().updateBusinessInfo(map);
    }
}
